package com.hrms.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author WCG
 * @version 1.0
 * @date 2021/10/21 9:13
 */
@Controller
@RequestMapping("/page")
public class PageController {

    //    登录页面
    @RequestMapping("/loginPage")
    public String loginPage() {

        return "login";
    }

    //    访问主页面
    @RequestMapping("/indexPage")
    public String index() {

        return "index";
    }

    //访问attenManage页面
    @RequestMapping("/attenManage")
    public String attenManage() {
        return "atten/attenManage";
    }

}
